## ------------------------------------------------------------------------- ##
## CONTROL FILE Golden King Crab Adak                                        ##
## ------------------------------------------------------------------------- ##
##
##
## ------------------------------------------------------------------------- ##
## CONTROLS FOR LEADING PARAMETERS                                           ##
##  Prior descriptions:                                                      ##
##                      -0 uniform      (0,0)                                ##
##                      -1 normal       (p1=mu,p2=sig)                       ##
##                      -2 lognormal    (p1=log(mu),p2=sig)                  ##
##                      -3 beta         (p1=alpha,p2=beta)                   ##
##                      -4 gamma        (p1=alpha,p2=beta)                   ##
## ------------------------------------------------------------------------- ##
## npar
8
## ival         lb      ub      phz     prior   p1      p2      #parameter   ##
   1.0         -5.0    15.0     1       0      -5.0    15.0     #log_rbar    ##
   4.75         4.6     5.1     1       0       4.6     5.1     #log_rec_mu  ##
  -2.6        -10.0     0.5     3       0     -10.0     0.5     #log_rec_cv  ##
   1.0         -5.0    15.0     4       0      -5.0    15.0     #log_init_n  ##
  -1.714       -2.5     0.0    -3       1      -1.7     0.05    #log_m       ##
   18.133      10.0     20.0   -1       0      10.0    20.0     #a-intercept ##
   -0.029      -1.0     1.0    -1       0      -1.0     1.0     #b-slope     ##
   1.70        -0.6     4.0     1       1       1.61    0.05    #log_beta    ##
#   0.05         0.01    1.5     5       0       0.01	1.50	#sig2 cpue1  ##
#   0.05         0.01    1.5     5       0       0.01	1.50	#sig2 cpue2  ##
#   0.05         0.01    1.5     5       0       0.01	1.50	#sig2 cpue1  ##
#   0.05         0.01    1.5     5       0       0.01	1.50	#sig2 cpue2  ##
## ------------------------------------------------------------------------- ##
##
##
## ------------------------------------------------------------------------- ##
## SELECTIVITY PARAMETERS Columns for gear                                   ##
## OPTIONS FOR SELECTIVITY (isel_type):                                      ##
##      1) logistic selectivity parameters     **                            ##
##      2) selectivity coefficients                                          ##
##      3) a constant cubic spline with age-nodes                            ##
##      4) a time varying cubic spline with age-nodes                        ##
##      5) a time varying bicubic spline with age & year nodes.              ##
##      6) fixed logistic (set isel_type=6, and estimation phase to -1)      ##
##      7) logistic function of body weight.                                 ##
##      8) logistic with weight deviations (3 parameters)                    ##
##      11) logistic selectivity with 2 parameters based on mean length      ##
##      12) length-based selectivity coefficients with spline interpolation  ##
##      sig=0.05 0.10 0.15 0.20 0.30 0.40 0.50                               ##
##      wt =200. 50.0 22.2 12.5 5.56 3.12 2.00                               ##
## ------------------------------------------------------------------------- ##
## Selectivity parameters for total catch                                    ##
 2       2                  # -selectivity type ivector(isel_type) for gear  ##
 130     120                # -Length at 50% selectivity (logistic)          ##
 140     150                # -STD at 50% selectivity (logistic)             ##
 0       0                  # -No. of length nodes for each gear (0=ignore)  ##
 0       0                  # -No. of year nodes for 2d spline(0=ignore)     ##
 1       1                  # -Phase of estimation (-1 for fixed)            ##
 2.0     2.0                # -Penalty wt for 2nd differences w=1/(2*sig^2)  ##
 3.12    3.12               # -Penalty wt for dome-shaped w=1/(2*sig^2)      ##
## Selectivity parameters for retention in directed fisheries.               ##
 2       1                  # -selectivity type ivector(isel_type) for gear  ##
 110     120                # -Length at 50% selectivity (logistic)          ##
 140     5.5                # -STD at 50% selectivity (logistic)             ##
 0       0                  # -No. of length nodes for each gear (0=ignore)  ##
 0       0                  # -No. of year nodes for 2d spline(0=ignore)     ##
 1      -3                  # -Phase of estimation (-1 for fixed)            ##
 2.0     2.0                # -Penalty wt for 2nd differences w=1/(2*sig^2)  ##
 3.12    3.12               # -Penalty wt for dome-shaped w=1/(2*sig^2)      ##
## ------------------------------------------------------------------------- ##
##
##
##
## ------------------------------------------------------------------------- ##
## PRIORS FOR Q                                                              ##
## Prior type:                                                               ##
##			0 - uninformative prior                                          ##
##			1 - normal prior density for log(q)                              ##
##			2 - random walk in q  (not implemented yet)                      ##
## ------------------------------------------------------------------------- ##
2					# -number of surveys (nits)
0	0				# -prior type (see legend above)
0	0				# -prior log(mean)
0	0				# -prior sd
## ------------------------------------------------------------------------- ##
##

## ------------------------------------------------------------------------- ##
## OTHER MISCELANEOUS CONTROLS                                               ##
## ------------------------------------------------------------------------- ##
0           # 1  -verbose ADMB output (0=off, 1=on)
1           # 2  -recruitment model (1=beverton-holt, 2=ricker) (not used)
0.150       # 3  -std in observed catches in first phase.
0.0707      # 4  -std in observed catches in last phase.
0           # 5  -Assume unfished in first year (0=FALSE, 1=TRUE) (not used)
0.01        # 6  -Minimum proportion to consider in age-proportions for dmvlogistic
0.30        # 7  -Mean fishing mortality for regularizing the estimates of Ft
0.05        # 8  -std in mean fishing mortality in first phase
2.00        # 9  -std in mean fishing mortality in last phase
-3          # 10 -phase for estimating m_deviations (use -1 to turn off mdevs)
0.1         # 11 -std in deviations for natural mortality
12          # 12 -number of estimated nodes for deviations in natural mortality
0.50        # 13 -fraction of total mortality that takes place prior to spawning
2           # 14 -switch for age-composition likelihood (1=dmvlogistic,2=dmultinom)
##
## ------------------------------------------------------------------------- ##
## MARKER FOR END OF CONTROL FILE (eofc)
## ------------------------------------------------------------------------- ##
999